import os

# 项目根目录
BASE_DIR = os.path.dirname(os.path.dirname(__file__))

# 资源文件目录
RESOURCES_DIR = os.path.join(BASE_DIR, 'resources')

# 附件目录
ATTACHMENT_DIR = os.path.join(RESOURCES_DIR, 'attach')
try:
    os.makedirs(ATTACHMENT_DIR)
except:
    pass

# qr图片路径
QR_PIC = os.path.join(RESOURCES_DIR, 'qr.png')

# 热登录缓存路径
PKL_PATH = os.path.join(RESOURCES_DIR, 'itchat.pkl')

# 缓存设置
CACHE = {}
